package com.spring.boot.quartz.service;

import com.github.pagehelper.PageInfo;
import com.spring.boot.quartz.bean.JobAndTriggerBean;
import org.springframework.stereotype.Service;

/**
 * @program: springboot_vue
 * @description: 定时任务service
 * @author: ry
 * @create: 2018-08-16 14:26
 **/
@Service
public interface IJobAndTriggerService {
    /**
     * 分页查询所有定时任务
     * @param datasource
     * @param pageNum
     * @param pageSize
     * @return
     * @throws Exception
     */
     PageInfo<JobAndTriggerBean> getJobAndTriggerDetails(String datasource,Integer pageNum,Integer pageSize) throws Exception;
}
